package io.renren.modules.lanling.dao;

import io.renren.modules.lanling.entity.QuestionErrorEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 错题表
 *
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-10-24 10:12:32
 */
public interface QuestionErrorDao extends BaseMapper<QuestionErrorEntity> {

    void deleteByUserId(@Param("studentId") long studentId);

    void deleteBySubjectId(@Param("subjectId") int subjectId);


}
